﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Pulog.Models.Comment>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<title>EditComment</title>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>EditComment</h2>

    <%= Html.ValidationSummary() %>

    <% using (Html.BeginForm()) {%>

        <fieldset>
            <legend>Fields</legend>
            <p>
                <label for="CommentID">CommentID:</label>
                <%= Html.TextBox("CommentID") %>
                <%= Html.ValidationMessage("CommentID", "*") %>
            </p>
            <p>
                <label for="CommentProperty">CommentProperty:</label>
                <%= Html.TextBox("CommentProperty") %>
                <%= Html.ValidationMessage("CommentProperty", "*") %>
            </p>
            <p>
                <label for="PostID">PostID:</label>
                <%= Html.TextBox("PostID") %>
                <%= Html.ValidationMessage("PostID", "*") %>
            </p>
            <p>
                <label for="CommentTime">CommentTime:</label>
                <%= Html.TextBox("CommentTime") %>
                <%= Html.ValidationMessage("CommentTime", "*") %>
            </p>
            <p>
                <label for="AuthorID">AuthorID:</label>
                <%= Html.TextBox("AuthorID") %>
                <%= Html.ValidationMessage("AuthorID", "*") %>
            </p>
            <p>
                <label for="AuthorName">AuthorName:</label>
                <%= Html.TextBox("AuthorName") %>
                <%= Html.ValidationMessage("AuthorName", "*") %>
            </p>
            <p>
                <label for="AuthorEmail">AuthorEmail:</label>
                <%= Html.TextBox("AuthorEmail") %>
                <%= Html.ValidationMessage("AuthorEmail", "*") %>
            </p>
            <p>
                <label for="AuthorURL">AuthorURL:</label>
                <%= Html.TextBox("AuthorURL") %>
                <%= Html.ValidationMessage("AuthorURL", "*") %>
            </p>
            <p>
                <label for="AuthorIP">AuthorIP:</label>
                <%= Html.TextBox("AuthorIP") %>
                <%= Html.ValidationMessage("AuthorIP", "*") %>
            </p>
            <p>
                <label for="CommentContent">CommentContent:</label>
                <%= Html.TextBox("CommentContent") %>
                <%= Html.ValidationMessage("CommentContent", "*") %>
            </p>
            <p>
                <label for="AdminReplyID">AdminReplyID:</label>
                <%= Html.TextBox("AdminReplyID") %>
                <%= Html.ValidationMessage("AdminReplyID", "*") %>
            </p>
            <p>
                <label for="AdminReplyName">AdminReplyName:</label>
                <%= Html.TextBox("AdminReplyName") %>
                <%= Html.ValidationMessage("AdminReplyName", "*") %>
            </p>
            <p>
                <label for="AdminReplyTime">AdminReplyTime:</label>
                <%= Html.TextBox("AdminReplyTime") %>
                <%= Html.ValidationMessage("AdminReplyTime", "*") %>
            </p>
            <p>
                <label for="AdminReplyContent">AdminReplyContent:</label>
                <%= Html.TextBox("AdminReplyContent") %>
                <%= Html.ValidationMessage("AdminReplyContent", "*") %>
            </p>
            <p>
                <label for="CommentPassword">CommentPassword:</label>
                <%= Html.TextBox("CommentPassword") %>
                <%= Html.ValidationMessage("CommentPassword", "*") %>
            </p>
            <p>
                <input type="submit" value="Save" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%=Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

